<?php 

// session_start();

/*if isset(($_POST['submit'])) {
	
	// manda una mail all'indirizzo mail specificato 
//	header ('/home.php');
}*/

// $_SESSION['end'] = 'true';

?>

<!DOCTYPE html>
<html>
  <head> 
    <title>Invita</title> 
  
    <?php
      include_once('head.php'); 
      
      
    ?> 
    
    
    
  </head> 
  
  <body> 

  
    <!-- /header -->
    <div data-role="header" class="ui-header ui-bar-a" role="banner">
      <a href="" data-rel="back" data-icon="arrow-l">Back</a>
      <h1 class="ui-title" tabindex="0" role="heading" aria-level="1">Invita</h1>
    </div>
    

    <!-- /content -->
    <div data-role="content" class="ui-content" role="main">  

     <p>
     <h3>Invita un amico</h3>
     </p>
      	
      	<!--  
      	<form action="" method="POST">
          <fieldset>            

            <label for="name">Il tuo nome:</label>
            <input type="text" name="name" id="name" value=""  />
            
            <label for="email">Email destinatario:</label>
            <input type="email" name="email_dest" id="email" value="" />

            <a href="#positionWindow" data-theme="b" data-corners="false" data-role="button" 
            		data-inline="true" data-rel="popup" data-position-to="window">Send</a>
           
            <hr />
            <br/>
            Utilizza Facebook Message
          </fieldset>
        </form>
        -->
        
        <form action="send_mail_friend.php" method="post" name="form" id="form">
            <fieldset>
                <div data-role="fieldcontain">
                    <label for="nome">Nome:</label>
                    <input type="text" name="nome" id="nome" />
                </div>
                <div data-role="fieldcontain">
                    <label for="email">Email destinatario:</label>
                    <input type="email" name="email_friend" id="email" />
                </div>
                <div class="ui-grid-a">
                    <div class="ui-block-a">
                        <input type="submit" value="invia" data-theme="b"/>
                    </div>
                    <div class="ui-block-b">
                        <input type="reset" value="cancella" />
                    </div>
                </div>
            </fieldset>
        </form>
        
        
      
      <div data-role="popup" id="positionWindow" class="ui-content" data-theme="a">
    	<p>I am positioned over the origin.</p>
	  </div>
   
      <!--  
      <div class="rateit">
      </div>
      -->
    
    </div>


</body>
</html>